﻿using B.S.Orders.ErrorCord;
using B.S.Orders.Read.Api.DTO;
using MediatR;

namespace B.S.Orders.Read.Api.Application.Commands.DispatchProductCommand
{
    public class GetDispatchProductQueryCommand : IRequest<APIResult<APIPaging<DispatchProductDTO>>>
    {
        /// <summary>
        /// 关联项目
        /// </summary>
        public string? AssociatedProjects { get; set; }
        /// <summary>
        /// 派工主题
        /// </summary>
        public string? DispatchTheme { get; set; }
        /// <summary>
        /// 派工批号
        /// </summary>
        public string? DispatchProductNo { get; set; }
        /// <summary>
        /// 开始交货日期
        /// </summary>
        public DateTime? FriDelivery { get; set; }
        /// <summary>
        /// 结束交货日期
        /// </summary>
        public DateTime? EndDelivery { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string? ProductName { get; set; }
        /// <summary>
        /// 产品编号
        /// </summary>
        public string? ProductNumber { get; set; }
        /// <summary>
        /// 开始计划开工日期
        /// </summary>
        public DateTime? FriConstructionPlannedDate { get; set; }
        /// <summary>
        /// 结束计划开工日期
        /// </summary>
        public DateTime? EndConstructionPlannedDate { get; set; }
        /// <summary>
        /// 开始计划完工日期
        /// </summary>
        public DateTime? FriScheduledCompletionDate { get; set; }
        /// <summary>
        /// 结束计划完工日期
        /// </summary>
        public DateTime? EndScheduledCompletionDate { get; set; }
        /// <summary>
        /// 开始制单日期
        /// </summary>
        public DateTime? FriDocumentDate { get; set; }
        /// <summary>
        /// 结束制单日期
        /// </summary>
        public DateTime? EndDocumentDate { get; set; }
        /// <summary>
        /// 制单人员
        /// </summary>
        public string? DocumentMakers { get; set; }
        public int PageIndex { get; set; }
        public int PageSize { get; set; }
    }
}
